package com.algorithm.hqy;

/**
 * @Classname StackTest
 * @Date 2019/9/18 16:09
 * @auther by hqy
 */
public class StackTest {

    public static void main(String[] args) {
        LinkedListStack linkedListStack=new LinkedListStack(3);
        linkedListStack.push(1);
        linkedListStack.push(10);
        linkedListStack.push(-30);
        linkedListStack.show();
        linkedListStack.pop();
        System.out.println("------");
        linkedListStack.show();
    }
}
